#undef LTTNG_UST_TRACEPOINT_PROVIDER
#define LTTNG_UST_TRACEPOINT_PROVIDER self_lttng_ust

#undef LTTNG_UST_TRACEPOINT_INCLUDE
#define LTTNG_UST_TRACEPOINT_INCLUDE "tp.h"

#if !defined(TP_H) || defined(LTTNG_UST_TRACEPOINT_MULTI_READ)
#define TP_h

#include <lttng/tracepoint.h>

#include "my-struct.h"

LTTNG_UST_TRACEPOINT_EVENT (
    self_lttng_ust,
    main_tracepoint,
    LTTNG_UST_TP_ARGS (
        int32_t, grade,
        const struct student *, student_info
    ),

    LTTNG_UST_TP_FIELDS (
        lttng_ust_field_string(name, student_info->name)
        lttng_ust_field_integer(int32_t, grade, grade)
        lttng_ust_field_integer(int32_t, age, student_info->age)
        lttng_ust_field_float(float, score, student_info->score)
    )

)





#endif

#include <lttng/tracepoint-event.h>
